package gui;

import com.nightpiter.model.objects.Coordinates;

import model.MetroModel;
import model.objects.EdiStation;

public class Scaling {
	
	public Scaling(MetroModel model, double kX, double kY){
		
		Coordinates point;
		
		for (EdiStation station: model) {
			point = station.getPosition();
			point.x = (int) (point.x * kX);
			point.y = (int) (point.y * kY);
			station.setPosition(point);
					
		}
		
		
	}

}
